package com.bst.base.domain;

import com.bst.common.annotation.Excel;
import com.bst.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 接口日志对象 base_inner_log
 * 
 * @author ruoyi
 * @date 2023-03-23
 */
public class BaseInterLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long idInterLog;

    /** 外键 */
    @Excel(name = "外键")
    private Long idInter;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtCre;

    /** 用户 */
    @Excel(name = "用户")
    private Long idUser;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String naUser;

    /** 耗时 */
    @Excel(name = "耗时")
    private Long times;

    /** 数量 */
    @Excel(name = "数量")
    private Integer num;

    /** 参数 */
    @Excel(name = "参数")
    private String param;

    private String ip;

    private String naInter;

    public String getNaInter() {
        return naInter;
    }

    public void setNaInter(String naInter) {
        this.naInter = naInter;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public void setIdInterLog(Long idInterLog)
    {
        this.idInterLog = idInterLog;
    }

    public Long getIdInterLog() 
    {
        return idInterLog;
    }
    public void setIdInter(Long idInter) 
    {
        this.idInter = idInter;
    }

    public Long getIdInter() 
    {
        return idInter;
    }
    public void setDtCre(Date dtCre) 
    {
        this.dtCre = dtCre;
    }

    public Date getDtCre() 
    {
        return dtCre;
    }
    public void setIdUser(Long idUser) 
    {
        this.idUser = idUser;
    }

    public Long getIdUser() 
    {
        return idUser;
    }
    public void setNaUser(String naUser) 
    {
        this.naUser = naUser;
    }

    public String getNaUser() 
    {
        return naUser;
    }
    public void setTimes(Long times) 
    {
        this.times = times;
    }

    public Long getTimes() 
    {
        return times;
    }
    public void setNum(Integer num)
    {
        this.num = num;
    }

    public Integer getNum()
    {
        return num;
    }
    public void setParam(String param) 
    {
        this.param = param;
    }

    public String getParam() 
    {
        return param;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("idInterLog", getIdInterLog())
            .append("idInter", getIdInter())
            .append("dtCre", getDtCre())
            .append("idUser", getIdUser())
            .append("naUser", getNaUser())
            .append("times", getTimes())
            .append("num", getNum())
            .append("param", getParam())
            .toString();
    }
}
